Autonomic self-tuning of database management system in dynamic logical partitioning environment

ABSTRACT

Database partition monitoring and dynamic logical partition reconfiguration in support of an autonomic self-tunable database management system are provided by an automated monitor that monitors one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host. The monitor initiates dynamic logical partition reconfiguration in the event that the parameters vary from predetermined parameter values. In particular, the monitor can initiate removal of resources if one of the resource parameters is being underutilized and initiate addition of resources if one of the resource parameters is being overutilized. The monitor can also calculate an amount of resources to be removed or added. The monitor can interact directly with a dynamic logical partition reconfiguration function of the data processing host or it can utilize an intelligent intermediary that listens for a partition reconfiguration suggestion from the monitor. In the latter configuration, the listener can determine where available resources are located and attempt to fully or partially satisfy the resource needs suggested by the monitor.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to database management systems. More particularly, the invention is directed to the implementation of automated tuning for a database management system utilizing the capabilities of a host providing a dynamic logical partitioning environment.

2. Description of the Prior Art

By way of background, autonomic self-tuning (based on system conditions) is a feature of modern database systems. Self-tuning allows various database and database manager parameters to be automatically assigned values based upon current workload and the availability of resources such as CPU (central processing unit) cycles, memory, and I/O (Input/Output). Given a particular workload and resource availability, parameter values are selected that will produce optimal performance.

For example, in a real-time data warehouse environment, it is relatively easy to overload a database server application with too many users, too much memory utilization, and poor caching effects due to the large amount of data being referenced. Thus, as the number of users increases or achieves some threshold value, self-tuning can be used to change the concurrency control optimizations to favor high concurrency.

Finding the optimal performance level in a traditional statically-partitioned operating system environment providing a fixed amount of resources has shortfalls because there is an upper limit placed on how much optimization can be performed within the constraint of currently available resources in a partition. For example, if the workload experienced by a database system requires 1 Gigabyte of memory and a host system has 256 Megabytes of total memory currently available, not much can be done to alleviate the performance problem.

Fortunately, dynamically partitionable data processing systems are available that allow system resources such as CPU bandwidth, memory and I/O to be dynamically assigned to one or more partitions each providing a dedicated operating system environment supporting the execution of one or more applications. Examples of dynamically partitionable systems are the IBM® eServer™ pSeries® servers, such as the p690 and p670 systems, from International Business Machines, running version 5.2 of the IBM® AIX® 5L operating system. This operating system is capable of handling partition reconfiguration without having to be rebooted.

The dynamic logical partitioning capability of the foregoing data processing system allows processor, memory and I/O slot resources to be added to or deleted from running partitions, or moved between running partitions, each of which runs an operating system instance, without requiring any such instance to be rebooted. Both time-based and load-based scenarios for moving processor resources and memory resources among partitions are supported.

It would be desirable to provide a technique whereby a dynamic logical partitioning environment could be used to extend or complement existing database automatic tuning capability. What is needed in particular is a solution in which a database management application can take advantage of a dynamic logically partitioned host to periodically receive resource reallocations as database workload parameters change. Providing such functionality without requiring alteration of the database management program would be of additional benefit.

SUMMARY OF THE INVENTION

The foregoing problems are solved and an advance in the art is obtained by a novel system, method and computer program product for database partition monitoring and dynamic logical partition reconfiguration in support of a tunable database management system. In exemplary embodiments of the invention, an automated monitor monitors one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host. The monitor initiates dynamic logical partition reconfiguration in the event that the parameters vary from predetermined parameter values. The parameters may include one or more of processor load, buffer pool utilization and database client response time, or any other relevant operational characteristic of the logical partition. The monitor can be adapted to initiate removal of resources if one of the resource parameters is being underutilized and to initiate addition of resources if one of the resource parameters is being overutilized. The monitor can be further adapted to calculate an amount of resources to be removed or added.

According to alternative implementations of the invention, the monitor can run in the same logical partition as the database application being monitored, or it could run on a different partition of the data processing host running the database application, or on a different data processing host.

The monitor can interact directly with a dynamic logical partition reconfiguration function of the data processing host or it can be adapted to utilize an intelligent intermediary that listens for a partition reconfiguration suggestion from the monitor. In the latter configuration, the listener can be adapted to respond to the partition reconfiguration suggestion by checking resource availability in a resource free pool of the data processing host. The listener can be further adapted to respond to the partition reconfiguration suggestion and to the free pool not having enough resources by checking resource availability in other logical partitions of the data processing host. The listener can be still further adapted to attempt to partially satisfy the partition reconfiguration suggestion if there are insufficient resources in the free pool and other partitions. In each of the above cases, the listener can respond to the partition reconfiguration suggestion by interacting with the dynamic logical partitioning function associated with the data processing host.

According alternative implementations of the invention, the listener can run on a logical partition of the data processing host, or it can run on a different data processing host than the database application. If the listener runs on a logical partition of the data processing host, it can be adapted to receive requests for partition reconfiguration from plural monitors running in plural logical partitions of the data processing host. The same is true if the listener runs on a different data processing host than the database application. Alternatively, a single instance of the monitor could run with the listener on the different data processing host.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying Drawings, in which:

FIG. 1 is a functional block diagram showing an exemplary data processing system with logical partitioning;

FIG. 2 is a functional block diagram showing another view of the data processing system of FIG. 1;

FIG. 3 is a functional block diagram showing an exemplary database server application running on the data processing system of FIG. 1 to provide a database management system on behalf of database clients;

FIGS. 4A and 4B collectively represent a flow diagram showing exemplary processing steps for performing database partition monitoring and dynamic logical partitioning in support of a tunable database management system; and

FIG. 5 is a diagrammatic illustration of storage media that can be used to store a computer program product for implementing functions in accordance with the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The invention will now be described by way of exemplary embodiments shown by the drawing figures, in which like reference numerals indicate like elements in all of the several views.

Turning to FIG. 1, a data processing host system 2 that may be used to implement the invention is configured with a collection of shared data processing hardware resources that include one or more central processing units (CPUs) 4 ₁, 4 ₂ . . . 4 _(n), a memory 6, and a set of input/output (I/O) facilities 8. A hypervisor program 10, also known as a virtual machine monitor or VMM, executes as firmware (or software) on the system 2 to provide logical partitions for various operating system instances and application programs to be described in more detail below. The hypervisor 10 is assumed to be conventional in nature. As such, it can be implemented according to any of the VMM design concepts that have been in use since hypervisors were first developed in the late 1960s (taking into account the VM support capabilities of the underlying hardware). Well known examples of commercial hypervisors include the CP Control Program used in the IBM VM/370® mainframe product introduced by International Business Machines Corporation in 1972, the current z/VM® hypervisor used in the IBM zSeries® mainframe product, and the hypervisor used in IBM pSeries® products. Note that the references to the foregoing commercial products are not intended to suggest that the invention is limited to any particular system or vendor.

As is known to persons skilled in the art, a conventional hypervisor or VMM is a low level service that virtualizes the underlying hardware to provide a subset of the CPU, memory and I/O resources (i.e., a virtual machine) on behalf of higher level “guests.” In FIG. 1, the hypervisor 10 is shown to provide four logical partition environments 12 ₁, 12 ₂, 12 ₃ and 12 ₄ on behalf of four operating system instances 14, 16, 18 and 20. Each operating system instance 14, 16, 18 and 20, in turn, respectively supports an application space 22, 24, 26 and 28 for running user applications. As described in more detail below, one or more of the user applications could be a database server providing database and database management functions on behalf of one or more database clients (not shown in FIG. 1).

The hypervisor 10 performs various functions that support concurrent operation of the operating systems 14-20 and their applications 22-28 on the system 2. In particular, the hypervisor 10 provides the plural logical partition environments 12 ₁, 12 ₂, 12 ₃ and 12 ₄ by allocating CPU bandwidth, memory and I/O resources, for use by each partition. Each operating system 14-20 within a partition 12 ₁-12 ₄ behaves as if it were operating on real hardware, with the hypervisor facilitating such operation by (1) translating accesses to virtual memory and I/O space to real memory and I/O space accesses, (2) selectively distributing interrupts from I/O devices to the various operating systems for servicing, and (3) scheduling CPU process execution on a prioritized basis. Note that the operating systems 14-20 need not necessarily be unaware of the hypervisor 10 insofar as there are some operating systems that are designed, for efficiency reasons, to cooperate with a hypervisor. The IBM® AIX® 5L operating system is an example of such a program.

Lastly, and of significance to the present invention, the data processing system 2 supports conventional dynamic logical partitioning, meaning that the partitions 12 ₁-12 ₄ can be dynamically reconfigured by adding or removing resources such as processors, memory and I/O slots, or by moving such resources between partitions, without rebooting the operating system instances 14, 16, 18, 20 running therein. As indicated by way of background above, the IBM® AIX® 5L operating system is an example of an operating system that supports dynamic logical partitioning and does not have to be rebooted when partition reconfiguration occurs. A conventional dynamic partitioning API is also provided by the data processing system 2 so that dynamic logical partitioning requests can be made using automated software control.

With additional reference now to FIG. 2, which presents a different view of the data processing system 2 of FIG. 1, reference numeral 30 of FIG. 2 illustrates a dynamic partitioning API that is accessible from each of the partitions 12 ₁-12 ₄, as is known in the art. As is further conventionally known, the dynamic partitioning API 30 in the FIG. 2 view of the data processing system 2 also maintains an interface to a network 32 configured as a LAN (Local Area Network) or other communication system. As additionally shown in FIG. 2, the network 32 connects to the partitions 12 ₁-12 ₄, and optionally to one or more remote data processing systems, such as a data processing host 34. With this connectivity, the dynamic partitioning API 30 can be accessed from each of the partitions 12 ₁-12 ₄, and from other systems, such as the host 34.

As mentioned by way of background above, one example of a data processing platform that provides the foregoing dynamic logical partitioning functionality is the IBM pSeries® line of products, such as the p690 and p670 systems, running the IBM® AIX® 5L operating system. These pSeries® products support a user interface for managing dynamic logical partitioning via a Hardware Management Console (HMC). The HMC allows administrators to manually perform dynamic logical partition reconfiguration. In addition, the software supporting the HMC can be accessed by a component found in version 5.2 of the IBM® AIX® 5L operating system known as the DR (Dynamic Reconfiguration) manager. Each partition running an instance of the IBM® AIX® 5L operating system can issue dynamic logical partitioning requests via its DR manager. Each partition's DR manager is in turn accessible to user applications running in the same partition. Support is also provided for remote secure shell (SSH) execution of dynamic logical partitioning commands sent over a network by software entities running on remote systems. The same kind of local and remote execution support can be provided by the dynamic partitioning API 30 shown in FIG. 2, as could other conventional forms of command interaction.

Turning now to FIG. 3, a database server application 36 is shown that provides database and database management functions for data resident on one or more data storage subsystems 38. For purposes of example only, it is assumed that there are four of the data storage subsystems 38, and that these subsystems are respectively associated with four instances of the database server application 36. Each instance of the database server application 36 is assumed to respectively run in one of the application spaces 22, 24, 26 and 28 shown in the FIG. 1 view of the data processing system 2. Each such instance could operate separately to implement an independent database on one of the data storage subsystems 38, or alternatively, each instance could be configured to operate cooperatively with other instances to provide a single distributed database. As is conventionally known, a distributed database can be distributed over multiple physical or logical partitions to facilitate parallel processing on defined subsets of data. In the context of the data processing system 2, one instance of the database server application 36 could be installed on each logical partition to collectively provide a distributed database with four partitions (with additional instances physically partitioned on other data processing hosts also being possible).

The database server application 36 is conventionally adapted to communicate with one or more clients 40 issuing database query requests by way of a network 42, which could be the same as or different than the network 32 of FIG. 2. The database server application 36 services these client query requests by invoking appropriate database query functions, and returning the query results to the requesting client(s), as is conventional.

The programming in the database server application 36 is assumed to implement the usual set of database and database management functions. These include, but are not necessarily limited to, various transaction management functions, scheduling functions and data management functions, including but not limited to query optimization, scan processing, join processing, aggregation processing, sort processing, convergence processing, final result set processing, logging, recovery, index management, concurrency control, buffer pool management, and parallel query processing.

The database server application 36 may need to accommodate a variety of clients 40 issuing potentially diverse types of database query requests. These requests could include routine online transaction processing (OLTP) queries in which relatively few database records need to be processed with sub-second response time. The clients 40 could also issue, on an ad hoc basis, processor-intensive decision support system (DSS) requests requiring hours to complete.

To support such query diversity, the database server application 36 is assumed to possess autonomic self-tuning functionality of the type found in modern database management systems. As indicated by way of background above, self-tuning allows various database and database manager parameters to be automatically assigned values based upon current workload and the availability of resources such as CPU (central processing unit) cycles, memory, and I/O (Input/Output). Given a particular workload and resource availability, parameter values are selected that will produce optimal performance.

Version 8 of the IBM® DB2® Database Manager product is one example of a database program that may be used to implement the database management server application 36. Tunable parameters associated with database management operations of this partitioned database product include: 1) maximum number of parallel operations per SQL statement; 2) partition memory available for database server application instance management; 3) number of inter-partition communications buffers; 4) processor speed per instruction; 5) inter-partition communications bandwidth; 6) system monitor switches; and 7) index recreation scheduling. With respect to storage and integrity of the database itself (as opposed to database management), tunable parameters in the IBM® DB2® Database Manager product include: 1) catalog cache size; 2) utility heap size; 3) database heap size; 4) sort heap size; 5) statement heap size; 6) degree of intra-partition parallelism; 7) table space extent size; 8) extent prefetch size; 9) average number of active applications; 10) maximum number of active applications; 11) package cache size; 12) maximum storage for lock list; 13) maximum number of locks; 14) default query optimization class; and 15) number of commits per commit group.

It will be appreciated that other database programs could be used to implement the database server application 36. Thus, the foregoing listing of tunable parameters associated with the IBM® DB2® Database Manager product are set forth for the purpose of illustration only, and not by way of limitation.

As indicated by way of summary above, the present invention allows whatever autonomic self-tuning functions that may be present in the database server application 36 to be extended and complemented using the dynamic partitioning functions of the data processing system 2. This is accomplished by 1) defining (at application deployment time) one or more desired operational parameters relating to application level resource utilization and/or operating system level performance, 2) monitoring the defined parameters during application execution; and 3) performing dynamic logical partition reconfiguration as necessary if the parameters are violated.

Each instance of the database server application 36 has an associated set of defined parameters that may be referred to as a Service Level Agreement or SLA. There is one SLA associated with each database server application instance, and each SLA can define any number of different parameters. By way of example only, and not by way of limitation, an SLA associated with one (or more) instances of the database server application 36 might specify the following parameters:

1) Processor load should be in a range 80%-90% on partition;

2) Database buffer pool hit ratio should be >95%;

3) Database client response time should be <5 seconds;

4) . . . [Others].

An SLA can be continuously (or periodically) monitored and whenever one of its parameters is violated, as by the parameter going outside of a defined range for a specified period of time, the associated partition can be dynamically reconfigured. For example, using the exemplary SLA above, if the current processor load for a partition is 99% for five minutes, the partition could be reconfigured by adding a new processor to keep the processor load at or under 90%. Similarly, for database buffer pools, a partition could be reconfigured by adding additional memory if the current buffer pool hit ratio is, for example, 50% for two minutes. The same is true for processor/memory removal. If there is processor under-utilization and unused buffer pool pages in a partition, a processor and memory could be removed from the partition and placed in a free pool. These resources would then be available in the future to the same partition or to other partitions that need them. Note that when partition resources are not available in the free pool, they can be obtained from one or more other partitions that are not as resource sensitive or are defined as lower priority SLA partitions. A partition priority and arbitration mechanism can be used to implement such reallocations.

The monitoring function for monitoring the SLAs associated each instance of the database server application 36 can be provided by a monitor running as a thread, process or other execution context in a partition that concurrently runs a database server application instance (or in any other partition). For example, as shown in FIG. 2, if partitions 12 ₁, 12 ₂, 12 ₃ and 12 ₄ each run an instance of the database server application 36, there could be a monitor MON₁, MON₂, MON₃ and MON₄ respectively running on each partition. Each monitor can be implemented to run in either operating system kernel mode or user application mode. However, it will be appreciated that the latter requires no operating system modifications and thus may be less costly to implement.

As indicated above, each of the monitors MON₁, MON₂, MON₃ and MON₄ can track conditions associated with the SLA parameters of the database server application instance running in its partition, and initiate responsive action whenever a parameter is violated. This responsive action involves notifying the dynamic partitioning API 30 that partition reconfiguration is required. Although it would be possible for each monitor to provide such notification directly to the dynamic partitioning API 30, efficiency can be improved by providing an intelligent intermediary that controls the manner in which dynamic reconfiguration requests are made to the dynamic partitioning API 30. In an exemplary embodiment of the invention, this intelligence is provided by a dynamic reconfiguration (DR) suggestion listener that can run as a thread, process or other execution context on one of the partitions 12 ₁, 12 ₂, 12 ₃ and 12 ₄. In FIG. 2, the dynamic reconfiguration listener (DRL) is shown by way of example only to run on the partition 12 ₄. Its function is to receive dynamic reconfiguration suggestions from the monitors MON₁, MON₂, MON₃ and MON₄ and then determine what dynamic reconfiguration requests need to be made to the dynamic partitioning API 30. Communication between the listener DRL and the monitors MON₁, MON₂, MON₃ and MON₄ can be implemented over the network 32, or by way of a conventional inter-partition communication mechanism provided by the data processing system 2, if present.

The discussion of FIG. 4 below will illustrate the kind of decision making that can be performed by the listener DRL following the receipt of dynamic reconfiguration suggestions from the monitors MON₁, MON₂, MON₃ and MON₄. However, before turning to FIG. 4, it should be pointed out with reference to FIG. 2 that the illustrated arrangement in which the monitors MON₁, MON₂, MON₃ and MON₄ and the listener DRL are installed on the various partitions of the data processing system 2 is not the only way that these functions can be implemented. As further shown in FIG. 2, all monitor and listener functions could be implemented on the host 34, due to that system's ability to communicate with each partition of the data processing system 2, as well as the dynamic partitioning API 30, via the network 32. Relatedly, all of the monitor and listener functions could likewise be implemented on a single one of the partitions 12 ₁, 12 ₂, 12 ₃ and 12 ₄ of the data processing system 2.

Turning now to FIGS. 4A and 4B, the illustrated flow diagram represents exemplary processing steps that may be performed in accordance with the invention to support autonomic self-tuning of a database management system in a dynamic logically partitioned environment. In a first step 50, an SLA for a database server application 34 running on the data processing system 2 is accessed by a monitor of the type described above. In step 52, the monitor continuously (or periodically) monitors the partition resources defined in the SLA. In FIG. 4A, this includes the monitoring of processor usage in step 52 ₍₁₎, the monitoring of buffer pool usage in step 52 ₍₂₎, and the monitoring of one or more other partition resources, as shown by step 52 _((n)). Note that all monitoring of partition resources can be performed using conventional operating system calls of the type provided by most modern operating systems. In step 54, the monitor determines whether the partition resources being monitored are consistent with the corresponding SLA parameters. In FIG. 4A, this includes determining whether processor usage is within the corresponding SLA processor usage parameter in step 54 ₍₁₎, whether buffer pool usage is within the corresponding SLA buffer pool parameter in step 54 ₍₂₎, and performing similar evaluations for one or more other partition resources being monitored, as shown by step 54 _((n)). If an SLA parameter is not found to be violated in step 54, processing returns to step 52. If an SLA parameter is found to be violated in step 54, a test is made in step 56 to determine whether the corresponding processor resource is above or below the SLA parameter value. For example, in FIG. 4A, the illustrated decision box for step 56 represents a determination by the monitor as to whether partition processor resources are being underutilized or over utilized. The monitor then performs suggestion processing, as exemplified by the remaining steps of FIG. 4A, to determine an appropriate DR suggestion to be made to a listener of the type described above. Steps 58 and 60 are performed if processor usage is below the SLA parameter. In step 58, the monitor determines the number of processors that the partition has available to send to a free pool of resources maintained by the data processing system 2. Conventional linear interpolation/extrapolation algorithms are available to make the processor availability determination. For example, if a partition has four running processors and processor usage is 40%, donating two processors should boost processor usage to a more efficient 80%. Note that the concept of a free pool for logically cataloging available resources is a well-known feature of dynamic logical partitioning environments. In step 60, the monitor generates a DR suggestion to the listener for processor removal using the number of processors determined in step 58. Steps 62 and 64 are performed if processor usage is above the SLA parameter. In step 62, the monitor determines the number of processors needed by the partition. Again, conventional linear interpolation/extrapolation algorithms are available to make this determination. For example, if a partition has four running processors and the processor usage is 100%, acquiring one more processor will reduce processor usage to 80%. In step 60, the monitor generates a DR suggestion to the listener for processor addition using the number of additional processors determined in step 58. Although not shown in FIG. 4A, similar processing is performed in connection with other partition resources being monitored.

As shown in FIG. 4B, the DR suggestion is processed by the listener in step 66. If the DR suggestion involves removing resources from the partition issuing the DR suggestion, this is accomplished without further processing by the listener issuing an appropriate remove request to API 30 of FIG. 2. If the DR suggestion involves adding resources to the partition issuing the DR suggestion, the listener issues an appropriate call to the API 30 in step 68 to determine the availability of resources in the free pool of unassigned resources maintained by the data processing system 2. Based on the response from the API 30, the listener determines in step 70 whether there are enough of the requested resources in the free pool. If enough resources are available, step 72 is performed in which the listener requests the API 30 to add the requested resources. If there are not enough resources in step 70, step 74 is performed in which the listener determines the availability of resources in other partitions. This is done by issuing conventional queries to the operating systems in these partitions. In step 76, the listener evaluates the responses received from the partition(s) being queried and determines whether there are available resources that can be borrowed. If there are, step 72 is invoked and the listener requests the API 30 to deliver the required resources from the other partition(s) in which the resources are available. If there are not enough resources available in other partitions, the listener performs step 78 to determine whether there are enough resources to partially satisfy the DR suggestion. If there are, the listener requests the API 30 to deliver whatever partial resource requirement can be obtained from the other partitions. If it is determined in step 78 that a partial request cannot be satisfied, processing returns to step 66.

Note that the decision making of steps 76 and 78 can involve arbitration by the listener to determine the partitions that are the most likely candidates to give up resources. This arbitration can be based on the evaluation of factors such as partition priority, partition resource sensitivity, SLA priority, etc. Thus, by way of example only, if all partitions lack extra resources, or are perhaps even low on resources, one or more partitions with the lowest ranking(s) according to the factors being evaluated could be selected to satisfy some or all of the resource needs of a requesting partition with higher priority.

Accordingly, a database partition monitoring and reconfiguration system for supporting an autonomic self-tuning database management system running in a dynamic logical partitioning operating system environment has been disclosed. It will be appreciated that the inventive concepts may be variously embodied in any of a data processing system, a machine implemented method, and a computer program product in which programming means are recorded on one or more data storage media for use in controlling a data processing system to perform the required functions. Exemplary data storage media for storing such programming means are shown by reference numeral 100 in FIG. 5. The media 100 are shown as being portable optical storage disks of the type that are conventionally used for commercial software sales. Such media can store the programming means of the invention either alone or in conjunction with an operating system or other software product that incorporates read-copy update functionality. The programming means could also be stored on portable magnetic media (such as floppy disks, flash memory sticks, etc.) or on magnetic media combined with drive systems (e.g. disk drives) incorporated in computer platforms. While several embodiments of the invention have been shown and described, it should be apparent that many variations and alternative embodiments could be implemented. It is understood, therefore, that the invention is not to be in any way limited except in accordance with the spirit of the appended claims and their equivalents. 

1. A database partition monitoring and reconfiguration system comprising an automated monitor adapted to monitor one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host, and to initiate dynamic logical partition reconfiguration in the event that said parameters vary from predetermined parameter values.
 2. A system in accordance with claim 1 wherein said resource parameters are specified in a service level agreement associated with said database application and include one or more of processor load, buffer pool utilization and database client response time.
 3. A system in accordance with claim 1 wherein said monitor is adapted to initiate removal of resources if one of said resource parameters is being underutilized and to initiate addition of resources if one of said resource parameters is being overutilized.
 4. A system in accordance with claim 3 wherein said monitor is adapted to calculate an amount of resources to be removed or added.
 5. A system in accordance with claim 1 wherein said monitor runs in the same logical partition as said database application.
 6. A system in accordance with claim 1 wherein said monitor runs in a different logical partition or on a different data processing host than said database application.
 7. A system in accordance with claim 1 wherein said system further includes a listener and wherein said monitor is adapted to suggest partition reconfiguration to said listener.
 8. A system in accordance with claim 7 wherein said listener is adapted to respond to said partition reconfiguration suggestion by checking resource availability in a resource free pool of said data processing host.
 9. A system in accordance with claim 8 wherein said listener is adapted to respond to said partition reconfiguration suggestion and to said free pool not having enough resources by checking resource availability in other logical partitions of said data processing host.
 10. A system in accordance with claim 9 wherein said listener is adapted to attempt to partially satisfy said partition reconfiguration suggestion if there are insufficient resources in said free pool and other partitions.
 11. A system in accordance with claim 10 wherein said listener is adapted to arbitrate to determine which of said other partitions will be used to fully or partially satisfy said partition request.
 12. A system in accordance with claim 7 wherein said listener runs on one of a logical partition of said data processing host and a different data processing host than said database application.
 13. A system in accordance with claim 7 wherein said listener runs on a logical partition of said data processing host and is adapted to receive partition reconfiguration suggestions from plural ones of said monitor running in plural logical partitions of said data processing host.
 14. A system in accordance with claim 7 wherein said listener runs with said monitor on a different data processing host than said database application.
 15. A system in accordance with claim 7 wherein said listener is adapted to respond to said partition reconfiguration suggestion by interacting with a dynamic logical partitioning function associated with said data processing host.
 16. A method for database partition monitoring and reconfiguration comprising monitoring one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host, and initiating dynamic logical partition reconfiguration in the event that said parameters vary from predetermined parameter values.
 17. A method in accordance with claim 16 wherein said resource parameters are specified in a service level agreement associated with said database application and include one or more of processor load, buffer pool utilization and database client response time.
 18. A method in accordance with claim 16 wherein said monitoring includes initiating removal of resources if one of said resource parameters is being underutilized and initiating addition of resources if one of said resource parameters is being overutilized.
 19. A method in accordance with claim 18 wherein said monitoring includes calculating an amount of resources to be removed or added.
 20. A method in accordance with claim 16 wherein said monitoring is performed by a monitor running in the same logical partition as said database application.
 21. A method in accordance with claim 17 wherein said monitoring is performed by a monitor running in a different logical partition or on a different data processing host than said database application.
 22. A method in accordance with claim 16 wherein said monitoring includes suggesting partition reconfiguration to a listener adapted for listening to said partition reconfiguration suggestion.
 23. A method in accordance with claim 22 wherein said listening includes responding to said partition reconfiguration suggestion by checking resource availability in a resource free pool of said data processing host.
 24. A method in accordance with claim 23 wherein said listening includes responding to said partition reconfiguration suggestion and to said free pool not having enough resources by checking resource availability in other logical partitions of said data processing host.
 25. A method in accordance with claim 24 wherein said listening includes attempting to partially satisfy said partition reconfiguration suggestion if there are insufficient resources in said free pool and other partitions.
 26. A method in accordance with claim 25 wherein said listener arbitrates to determine which of said other partitions will be used to fully or partially satisfy said partition request.
 27. A method in accordance with claim 22 wherein said listener runs on one of a logical partition of said data processing host and a different data processing host than said database application.
 28. A method in accordance with claim 22 wherein said listener runs on a logical partition of said data processing host and is adapted to receive partition reconfiguration suggestions from plural ones of a monitor running in plural logical partitions of said data processing host.
 29. A method in accordance with claim 22 wherein said listener runs with a monitor on a different data processing host than said database application.
 30. A method in accordance with claim 22 wherein said listening includes responding to said partition reconfiguration suggestion by interacting with a dynamic logical partitioning function associated with said data processing host.
 31. A computer program product for database partition monitoring and reconfiguration, comprising: one or more data storage media; programming means recorded on said data storage media for programming a system of shared hardware resources to operate by: monitoring one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host, and initiating dynamic logical partition reconfiguration in the event that said parameters vary from predetermined parameter values.
 32. A computer program product in accordance with claim 31 wherein said resource parameters are specified in a service level agreement associated with said database application and include one or more of processor load, buffer pool utilization and database client response time.
 33. A computer program product in accordance with claim 31 wherein said monitoring includes initiating removal of resources if one of said resource parameters is being underutilized and initiating addition of resources if one of said resource parameters is being overutilized.
 34. A computer program product in accordance with claim 33 wherein said monitoring includes calculating an amount of resources to be removed or added.
 35. A computer program product in accordance with claim 31 wherein said monitoring is performed by a monitor running in the same logical partition as said database application.
 36. A computer program product in accordance with claim 32 wherein said monitoring is performed by a monitor running in a different logical partition or on a different data processing host than said database application.
 37. A computer program product in accordance with claim 31 wherein said monitoring includes suggesting partition reconfiguration to a listener portion of said computer program product adapted for listening to said partition reconfiguration suggestion.
 38. A computer program product in accordance with claim 37 wherein said listening includes responding to said partition reconfiguration suggestion by checking resource availability in a resource free pool of said data processing host.
 39. A computer program product in accordance with claim 37 wherein said listening includes responding to said partition reconfiguration suggestion and to said free pool not having enough resources by checking resource availability in other logical partitions of said data processing host.
 40. A computer program product in accordance with claim 39 wherein said listening includes attempting to partially satisfy said partition reconfiguration suggestion if there are insufficient resources in said free pool and other partitions.
 41. A computer program product in accordance with claim 40 wherein said listener arbitrates to determine which of said other partitions will be used to fully or partially satisfy said partition request.
 42. A computer program product in accordance with claim 37 wherein said listener runs on one of a logical partition of said data processing host and a different data processing host than said database application.
 43. A computer program product in accordance with claim 37 wherein said listener runs on a logical partition of said data processing host and is adapted to receive partition reconfiguration suggestions from plural ones of a monitor running in plural logical partitions of said data processing host.
 44. A computer program product in accordance with claim 37 wherein said listener runs with a monitor on a different data processing host than said database application.
 45. A computer program product in accordance with claim 37 wherein said listening includes responding to said partition reconfiguration suggestion by interacting with a dynamic logical partitioning function associated with said data processing host.
 46. A database partition monitoring and reconfiguration system, comprising: monitoring means for monitoring one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host; suggestion means associated with said monitoring means for suggesting dynamic logical partition reconfiguration in the event that said parameters vary from predetermined parameter values; and listener means for determining how suggestions for reconfiguration from said suggestion means can be handled and for interacting with a dynamic logical partitioning function associated with said data processing host to implement said suggestions.
 47. A database partition monitoring and reconfiguration system, comprising: monitoring means for monitoring one or more resource parameters in a logical partition running a database application in a logically partitioned data processing host; suggestion means for requesting dynamic logical partition reconfiguration in the event that said parameters vary from predetermined parameter values; and listener means for receiving requests for partition reconfiguration from said suggestion means and for 1) checking resource availability in a resource free pool of said data processing host, 2) checking resource availability in other logical partitions of said data processing host in response to said free pool not having enough resources, and 3) attempting to partially satisfy said request for partition reconfiguration in response to said free pool and other partitions having not having enough resources. 